//
//  SetRequest.h
//  MoveCar
//
//  Created by dengbb on 15/3/25.
//
//

#import <Foundation/Foundation.h>
#import "NetWorkModel.h"

@interface SetRequest : NSObject<NSURLConnectionDelegate, NSURLConnectionDataDelegate>

+(SetRequest*)sharedInstance;

- (void)postRequestWithURL:(NSString *)url postParems:(NSMutableDictionary *)postParems  content:(void(^)(NetWorkModel *model))requestResult;
-(void )postRequestWithURL: (NSString *)url postParems:(NSMutableDictionary *)postParems withHeader:(NSString *)key content:(void(^)(NetWorkModel *model))requestResult;
-(void )getRequestWithURL: (NSString *)url postParems:(NSMutableDictionary *)postParems content:(void(^)(NetWorkModel *model))requestResult;
-(void)postRequestWithURLWithImg: (NSString *)url postParems:(NSMutableDictionary *)postParems withURLPath:(NSMutableArray *)path content:(void(^)(NetWorkModel *model))requestResult;
@end
